package com.shse.dao;

import com.shse.meta.Comment;
import org.apache.ibatis.annotations.Param;
import org.apache.ibatis.annotations.Select;

import java.util.List;

/**
 * Created by shse on 3/12/2016.
 */
public interface CommentDao {

    @Select("select * from comment where articleId=#{articleId}")
    public List<Comment> getComments(@Param("articleId") Integer articleId);
}
